<template>
    <div id="app">
        <ul>
            <li>
                <router-link to="/">Home</router-link>
            </li>
            <li>
                <router-link to="/about">About</router-link>
            </li>
            <li>
                <router-link to="/posts">Post</router-link>
            </li>
        </ul>
        <router-view/>
    </div>
</template>

<script>
export default {
    name:'app',
    data(){
        return{
            message:'拉钩教育'
        }
    },
    methods:{
        onClick(){
            console.log('Hello World')
        }
    }
}
</script>

<style>

</style>